package com.ruoyi.bus.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 车辆位置对象 wit_bus_location
 * 
 * @author caiyanshan
 * @date 2021-04-28
 */
public class WitBusLocation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 位置主键ID */
    private Long locationId;

    /** 经度 */
    @Excel(name = "经度")
    private String longitude;

    /** 纬度 */
    @Excel(name = "纬度")
    private String latitude;

    /** 路线ID */
    @Excel(name = "路线ID")
    private Long routeId;

    /** 车辆ID */
    @Excel(name = "车辆ID")
    private Long busId;

    public void setLocationId(Long locationId) 
    {
        this.locationId = locationId;
    }

    public Long getLocationId() 
    {
        return locationId;
    }
    public void setLongitude(String longitude) 
    {
        this.longitude = longitude;
    }

    public String getLongitude() 
    {
        return longitude;
    }
    public void setLatitude(String latitude) 
    {
        this.latitude = latitude;
    }

    public String getLatitude() 
    {
        return latitude;
    }
    public void setRouteId(Long routeId) 
    {
        this.routeId = routeId;
    }

    public Long getRouteId() 
    {
        return routeId;
    }
    public void setBusId(Long busId) 
    {
        this.busId = busId;
    }

    public Long getBusId() 
    {
        return busId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("locationId", getLocationId())
            .append("longitude", getLongitude())
            .append("latitude", getLatitude())
            .append("routeId", getRouteId())
            .append("busId", getBusId())
            .append("createTime", getCreateTime())
            .toString();
    }
}
